package org.pockito.dmspersistence;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

@Target({ METHOD, FIELD })
@Retention(RUNTIME)

// FIXME: not handled if the Attribute annotation is set on a method.

public @interface Attribute {

	String name() default "";
	
	// TODO: handle readonly
	boolean readonly() default false;

//	boolean system() default false;

}
